]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Fix RTL handling in notifications
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 6 Aug 2014 14:03:15 +0000 (16:03 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 6 Aug 2014 14:10:27 +0000 (16:10 +0200)
Commit 234b90ac866136c2fb1 replaced a member variable with a "local"
one, except that it wasn't that local after all ...

js/ui/messageTray.js

index 92135f980ce4c96efdfd3a5ec83b0718cd22f08b..beabb8a7144b21a427972538c5df5d68c2cc8828 100644 (file)
@@ -922,7 +922,7 @@ const Notification = new Lang.Class({
         let [titleMinH, titleNatH] = this._titleLabel.get_preferred_height(availWidth);
         let [bannerMinW, bannerNatW] = this._bannerLabel.get_preferred_width(availWidth);
 
-        let rtl = (this._titleDirection == Clutter.TextDirection.RTL);
+        let rtl = (this._table.text_direction == Clutter.TextDirection.RTL);
         let x = rtl ? availWidth : 0;
 
         if (this._secondaryIcon) {